package com.guo.hui.eurekaconsumer;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName ConsumerController
 * @Description TODO
 * @Author zhengguohui
 * @Date 2018/7/18 15:24
 */

@RestController
public class ConsumerController {

    @GetMapping("/tms")
    public String tms(String name) {
        return "你好" + name;
    }

    @GetMapping("/sap")
    public String sap(String name, Integer kk) {
        String ss = "姓名:" + name + "年龄：" + kk;
        return ss;
    }
}
